/**
 * 
 */
package com.eis.persist.model.base;

import java.util.Date;
import java.util.Map;

/**
 * @author panwei
 *
 */
public class BasePersist {
	private Date createDate;
	private String createdBy;
	private Date updateDate;
	private String updatedBy;
	
	public BasePersist() {
		super();
	}
	
	public BasePersist(Map<String, Object> dataRecord) {
		super();
		this.createDate = (Date) dataRecord.get("createDate");
		this.createdBy = (String) dataRecord.get("createBy");
		this.updateDate = (Date) dataRecord.get("updateDate");
		this.updatedBy = (String) dataRecord.get("updatedBy");
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getUpdatedBy() {
		return updatedBy;
	}
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}
}
